<template>
  <el-container class="start-container ">
    <el-row>
      <h1>个人简介网站</h1>
      <h2>前端工程师</h2>
      <p>---热衷探索，探索未知，热爱代码，码写人生---</p>
    </el-row>
    <el-row>
      <el-button type="primary" round @click="toHome">开始</el-button>
    </el-row>

    <el-row>
      <p class="copyright">Copyright © 2023 版权所有：杨勇辉</p>
    </el-row>
  </el-container>
</template>

<script>
export default {
  methods:{
    toHome(){
      this.$router.push('/home')
    }
  }
};
</script>

<style lang="less" scoped>
.start-container {
  width: 100vw;
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #1a1a1a;
  h1 {
    font-size: 80px;
    color: #ffffff;
  }
  h2 {
    font-size: 50px;
    color: #ffffff;
  }
  p {
    font-size: 24px;
    color: #0482fb;
  }
  .el-button {
    width: 250px;
    height: 80px;
    border-radius: 40px;
    font-size: 40px;
  }
  .copyright {
    font-size: 16px;
    color: #ffffff;
  }
}
</style>